package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 档案信息对象 archives
 * 
 * @author CXY
 * @date 2024-01-10
 */
public class Archives extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 户号 */
    private String id;

    /** 户名 */
    @Excel(name = "户名")
    private String name;

    /** 归属 */
    @Excel(name = "归属")
    private String owner;

    @Excel(name = "建档时间")
    private String createtime;

    /** 档案状态（是否被借阅） */
    @Excel(name = "档案状态", readConverterExp = "是=否被借阅")
    private String status;

    /** 盒号 */
    @Excel(name = "盒号")
    private Long num;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOwner(String owner) 
    {
        this.owner = owner;
    }

    public String getOwner() 
    {
        return owner;
    }

    public void setCreatetime(String createtime)
    {
        this.createtime = createtime;
    }

    public String getCreatetime()
    {
        return createtime;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("owner", getOwner())
            .append("createtime", getCreatetime())
            .append("status", getStatus())
            .append("num", getNum())
            .toString();
    }
}
